From: Florian Müllner Date: Fri, 8 Feb 2013 16:49:37 +0000 (+0100) Subject: searchDisplay: Unset default result when clearing search X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4922 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=af0b5e61763ad8a26aea4b17314315288901dc8c;p=gnome-shell.git searchDisplay: Unset default result when clearing search If we fail to do so, a previously set result may be activated by hitting enter, even if a search did not turn up any actual results. --- diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index 2008451a3..5df94be12 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -423,6 +423,7 @@ const SearchResults = new Lang.Class({ this._searchSystem.reset(); this._statusBin.hide(); this._clearDisplay(); + this._defaultResult = null; }, startingSearch: function() {